x11/dnd: Ignore XErrors from the COW
authorOlivier Fourdan <ofourdan@redhat.com>
Mon, 22 Mar 2021 14:34:31 +0000 (15:34 +0100)
committerOlivier Fourdan <ofourdan@redhat.com>
Mon, 22 Mar 2021 14:38:58 +0000 (15:38 +0100)
commit80ba38a0b365f65104e481f17047bf5f343b0980
tree1926f785df4bd77dd05f3bc3f44223c6ae87ad43
parent5d3af346dd8b2c46b0cfd7e6eca66232bc102bfa
x11/dnd: Ignore XErrors from the COW

The DnD code for X11 adds the composite overlay window (aka COW) to the
cache.

Yet the X11 requests to get and release the COW may trigger XErrors that
we ought to ignore otherwise the client will abort.

Fixes: #3715
gdk/x11/gdkdrag-x11.c